home *** CD-ROM | disk | FTP | other *** search
- Path: news.sunquest.com!kitk!kitk
- From: kitk@mudshark.sunquest.com (Kit Kauffmann)
- Newsgroups: comp.lang.c++
- Subject: Re: DLL's - Explanation needed...
- Date: Fri, 9 Feb 1996 09:07:26
- Organization: Sunquest
- Message-ID: <kitk.2081.00092003@mudshark.sunquest.com>
- References: <4fc52q$per@newsstand.cit.cornell.edu>
- NNTP-Posting-Host: kkauffma.sunquest.com
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
- In article <4fc52q$per@newsstand.cit.cornell.edu> wo10@cornell.edu (Warren Ouyang) writes:
- >From: wo10@cornell.edu (Warren Ouyang)
- >Subject: DLL's - Explanation needed...
- >Date: 8 Feb 1996 06:26:34 GMT
-
- >Hello all, i was wondering if anyone here could tell me what exactly a DLL is
- >for? Thanks!
-
- >Warren
-
- DLL's (Dynamic Link Libraries) are (fully) linked at runtime instead of
- compile time (you provide a stub .LIB, but the actual resolution of function
- calls occurs at runtime).
-
- Two benefits:
-
- 1. All the currently running programs can (re-) use the code from a
- single library, rather than each having their own (staticly linked) copy of
- the library, cutting down on how much code must be loaded in memory.
-
- 2. The library code/data can be changed without relinking the program,
- allowing you to provide different functionality from the "same" function call,
- or different resource data (for example, in other languages!), by providing
- multiple DLL's (and some way to tell the program which one(s) to use).
-
-
- Kit Kauffmann - kitk@mudshark.sunquest.com
- AKA 73363,447 (Compu$erve)
-
- Finger me for my public key
-